# -*- coding: utf-8 -*-
from iks.srn.models import disciplini,prepodavateli,gruppi_studentov,koeficenty,work
from django.contrib import admin

class prepodavateliAdmin(admin.ModelAdmin):
	list_display = ('lastn', 'firstn', 'eshen')
	list_filter = ['lastn']
	search_fields = ['lastn']
	
class discipliniAdmin(admin.ModelAdmin):
	list_display = ('nazvanie', 'kyrs_semmestr')
	list_filter = ['nazvanie']
	search_fields = ['nazvanie']
	
admin.site.register(disciplini, discipliniAdmin)
admin.site.register(prepodavateli, prepodavateliAdmin)
admin.site.register(gruppi_studentov)
admin.site.register(koeficenty)
admin.site.register(work)